Accusoft.OCRXpress.Java - Updated
Set the Default Image Resolution
User Guide > How To ... > Set the Default Image Resolution

The text recognition engine in OCRXpress for Java has a default resolution of 300 DPI for an image. The Java BufferedImage does not have a member for the image resolution. So, the RecogntionParameters object allows you to set the default resolution to be used during the recognition process:

  1. Create a recognition object:
    Copy Code
    RecognitionParameters parameters = new RecognitionParameters();
    
  2. Set the desired dpi value.
    Copy Code
    parameters.setDefaultXDPI(200);
    parameters.setDefaultYDPI(200);